import BiCard from 'control/card.vue';
import BiForm from 'control/form.vue';
import BiFormItem from 'control/form-item.vue';
import BiMenu from 'control/menu.vue';
import BiMenuItem from 'control/menu-item.vue';
import BiTable from 'control/table.vue';
import BiTableColumn from 'control/table-column.vue'; 
import BiTree from 'control/tree.vue';
import BiPagination from 'control/pagination.vue';
import BiList from 'control/list.vue';
import BiTab from 'control/tab.vue';
import BiTabItem from 'control/tab-item.vue';
import BiCalendar from 'control/calendar.vue';
import BiTimepicker from 'control/timepicker.vue';
import BiCollapse from 'control/collapse.vue';


import BiInputHandle from 'field/input-handle.vue';
import BiInput from 'field/input.vue';
import BiSelect from 'field/select.vue';
import BiSelectOption from 'field/select-option.vue';
import BiCheckbox from 'field/checkbox.vue';
import BiRadio from 'field/radio.vue';
import BiSwitch from 'field/switch.vue';
import BiFile from 'field/file.vue';
import BiTextarea from 'field/textarea.vue';
import BiDate from 'field/date.vue';
import BiDatetime from 'field/datetime.vue';
import BiColor from 'field/color.vue';

import BiButton from 'other/button.vue';
import BiIcon from 'other/icon.vue';
import BiPicture from 'other/picture.vue';


import dropdown from 'directive/dropdown.js';
import badge from 'directive/badge.js';
import preview from 'directive/preview.js';

import 'global.css';

let components = {
    BiMenu,
    BiMenuItem,
    BiCard,
    BiForm,
    BiFormItem,
    BiInputHandle,
    BiInput,
    BiSelect,
    BiSelectOption,
    BiCheckbox,
    BiSwitch,
    BiRadio,
    BiButton,
    BiIcon,
    BiPicture,
    BiTable,
    BiTableColumn,
    BiTree,
    BiFile,
    BiPagination,
    BiList,
    BiTab,
    BiTabItem,
    BiTextarea,
    BiCalendar,
    BiDate,
    BiTimepicker,
    BiDatetime,
    BiCollapse,
    BiColor
}


let directives = {
    dropdown,
    badge,
    preview
}



export default{
    components,
    directives
}

